import { View } from 'react-native'

/** 空白分割线 */
export function Partition({ size = 20 }: { size?: number }) {
  return (
    <View
      style={{
        justifyContent: 'center',
        alignItems: 'center',
        padding: size,
        width: '100%',
      }}
    ></View>
  )
}

//灰色分割线
export function Separator({ size = 8 }: { size?: number }) {
  return (
    <View
      style={{
        height: 1,
        backgroundColor: '#D8D8D8',
        marginVertical: size,
        width: '100%',
      }}
    ></View>
  )
}
